package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 帖子管理对象 invitation
 * 
 * @author ruoyi
 * @date 2024-10-30
 */
public class Invitation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Integer id;

    /** ID */
    @Excel(name = "ID")
    private String nid;

    /** 标题 */
    @Excel(name = "标题")
    private String bt;

    /** 封面 */
    @Excel(name = "封面")
    private String fm;

    /** 视频 */
    @Excel(name = "视频")
    private String sp;

    /** 帖子类型 */
    @Excel(name = "帖子类型")
    private String invitationType;

    /** 标签 */
    @Excel(name = "标签")
    private String invitationbq;

    /** 发布者 */
    @Excel(name = "发布者")
    private String fb;

    /** 手机号 */
    @Excel(name = "手机号")
    private String sjh;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private Integer status;

    /** 审核管理员 */
    @Excel(name = "审核管理员")
    private String shen;

    /** 上传时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上传时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date end;

    /** 状态 */
    @Excel(name = "状态")
    private Long start;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setNid(String nid) 
    {
        this.nid = nid;
    }

    public String getNid() 
    {
        return nid;
    }
    public void setBt(String bt) 
    {
        this.bt = bt;
    }

    public String getBt() 
    {
        return bt;
    }
    public void setFm(String fm) 
    {
        this.fm = fm;
    }

    public String getFm() 
    {
        return fm;
    }
    public void setSp(String sp) 
    {
        this.sp = sp;
    }

    public String getSp() 
    {
        return sp;
    }
    public void setInvitationType(String invitationType) 
    {
        this.invitationType = invitationType;
    }

    public String getInvitationType() 
    {
        return invitationType;
    }
    public void setInvitationbq(String invitationbq) 
    {
        this.invitationbq = invitationbq;
    }

    public String getInvitationbq() 
    {
        return invitationbq;
    }
    public void setFb(String fb) 
    {
        this.fb = fb;
    }

    public String getFb() 
    {
        return fb;
    }
    public void setSjh(String sjh) 
    {
        this.sjh = sjh;
    }

    public String getSjh() 
    {
        return sjh;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setShen(String shen) 
    {
        this.shen = shen;
    }

    public String getShen() 
    {
        return shen;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }
    public void setEnd(Date end) 
    {
        this.end = end;
    }

    public Date getEnd() 
    {
        return end;
    }
    public void setStart(Long start) 
    {
        this.start = start;
    }

    public Long getStart() 
    {
        return start;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("nid", getNid())
            .append("bt", getBt())
            .append("fm", getFm())
            .append("sp", getSp())
            .append("invitationType", getInvitationType())
            .append("invitationbq", getInvitationbq())
            .append("fb", getFb())
            .append("sjh", getSjh())
            .append("status", getStatus())
            .append("shen", getShen())
            .append("time", getTime())
            .append("end", getEnd())
            .append("start", getStart())
            .toString();
    }
}
